<?php
namespace app\controller;

class rand
{
public function index(){
    $arr = ['水果','炒菜','下面条','煎馒头干','螺蛳粉', '米线','鸡丁米线','麻辣烫','凉拌菜'];
    return $arr[rand(0,8)];
}
}